package org.example.maven.service;

import org.example.maven.pojo.operation.OperateList;
import org.example.maven.pojo.operation.OperationLog;
import org.example.maven.pojo.operation.SearchOperate;

import java.util.List;

public interface OperateService {
    //添加操作日志
    void addOperateLog(OperationLog operationLog);

    //获取操作日志的list信息
    List<OperateList> getOperateList(Integer pageNum,Integer pageSize);

    //获取所有的操作日志
    List<OperateList> getAllOperate();

    //获取操作日志的total
    Integer getOperateCount(SearchOperate searchOperate);

    //获取特定的日志
    List<OperateList> getSpecieOperation(SearchOperate searchOperate,Integer pageNum,Integer pageSize);

    //删除日志
    void deleteOperation(String[]id);

    //删除全部日志
    void deleteOperationAll();
}
